package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/*
 *@Parm
 *@ClassName BsUser
 *@Date 2022/1/9 19:35
 */
@Data
@TableName("bs_user")
public class BsUser {
    //id
    private Integer id;

    //
    private String avatar;

    //创建时间
    @TableField("create_time")
    private LocalDateTime createTime;

    //邮箱
    private String email;

    //introduction
    private String introduction;

    //最新修改时间
    @TableField("last_update_time")
    private LocalDateTime lastUpdateTime;

    //密码
    private String password;

    //电话号码
    private String phone;

    //状态
    private Integer status;

    //用户名
    private String username;

    //性别
    private String sex;

    //role
    private String role;

    //permission_group_id
    @TableField("permission_group_id")
    private Long permissionGroupId;
}
